0 7 15 0 0 7 7 0 1 0 0 0 0
JAJ4
PC Valet Menu 2.01 Sample Definition File
Microsoft
Word
A standard key definition. If you have Word Perfect, change the cd \word line to point to \wordperf and change the word.com line to wp
cd \word
word.com
cd \
EOK
Microsoft
Windows
This command puts some keystrokes in the keyboard buffer and then exits to Dos. This removes VMENU from memory to allow more memory for the application.
cd \windows
{KEYIN}win^M
{EXIT}
EOK
Lotus 123

Another standard key definition.  If you have quattro, change \lotus to \quattro and 123.com to q.exe.
cd \lotus
123.com
cd \
EOK
Press SHIFT
and F4.
Keys can have help lines that are displayed when you hold shift down and press the key.  This is one of those lines.
{CLS}
{ECHO}Try pressing SHIFT and this key from the menu.
{PAUSE}
EOK
Utilities
Menu
This key changes to another menu that is already in memory.  There are 10 menus (numbered from 0 to 9).  {MENU} by itself will always take you to menu 0.
{MENU}1
EOK
Load Game
Menu
This key is an example of loading a second menu.  It expects the file VMENU.GAM to be in the current directory.  Of course the filename could be changed!
{LOAD}vmenu.gam
{PAUSE}Obviously, we didn't find VMENU.GAM in the current directory!
EOK
Information
Menu

{MENU}7
EOK
VMENU Quick
Help
PC Valet Super Menu is copyright 1987,1988 by John A Junod.  All rights reserved.
{CLS}
{ECHO}^JTo execute a program, just press the corresponding function key.
{ECHO}SHIFT-Fx = Display help for a key (if defined).
{ECHO}CTRL-F1 = Display Internal Values^M^JCTRL-F6 = Menu Modification Mode
{ECHO}^JIf passwords are not enabled,
{ECHO}  ALT-Fx   = jump directly to a menu x.^M^J  CTRL-F10 = Exit from VMenu.
{ECHO}^JPlease read the contents of VMENU.DOC for full documentation.
{ECHO}^JPlease register your copy of VMENU by sending 15 dollars to:
{ECHO}^J  The CenterPost Group^M^J  Suite 111-189^M^J  15 Churchville Road
{ECHO}  Belair, Maryland 21014
{PAUSE}
EOK
How to
Register
Try some of our other products, such as PC Valet Shell and EGA-Solitaire.
{CLS}
{ECHO}This is a shareware product.  You are authorized to use it for up to 30
{ECHO}days for free.  After that time, you must register this copy of VMENU if
{ECHO}you intend to continue using VMENU.^J
{ECHO}To register this copy, send 15 dollars to:^M^J^J  The CenterPost Group
{ECHO}  Suite 111-189^M^J  15 Churchville Road^M^J  Belair, Maryland 21014
{ECHO}^M^JIf you have questions, call at: 301-836-5048
{ECHO}^JFor a 25 dollar registration fee, you will get the latest version of VMENU
{ECHO}and notifications of updates.
{ECHO}^JSite licenses and multiple copies available at very reasonable rates!
{PAUSE}
EOK
Exit to Dos

This key causes VMENU to exit.  You can put a message on the line following {EXIT}.
{EXIT}
{ECHO} This never gets executed so I thought I'd tell you about {KEYIN} here.
{ECHO} You can use {KEYIN} and to put up to 15 characters in the keyboard
{ECHO} buffer for automatic execution after exiting to DOS.
EOK
Utilities Menu
Diskcopy


{CLS}
&1={RSP}"Enter the source drive: (letter only) "
&2={RSP}"Enter the destination drive: (letter only) "
{ECHO}^JCopying contents of disk in drive &1: to disk in drive &2:^J
diskcopy &1: &2:
EOK
Display
Directory

{CLS}
Dir {RSP}"What directory? " /w
{PAUSE}
EOK
Check a
Diskette

{CLS}
&1={RSP}"Check diskette in what drive? (letter only) "
{PAUSE}Please put a diskette in drive &1:
chkdsk &1:
{PAUSE}
EOK
Memory Map

Requires the program MMAP.COM also written by John A Junod
{CLS}
{ECHO}Memory usage with command.com loading program
mmap
{ECHO}Memory usage after specifying a full filename
mmap.com
{PAUSE}
EOK
Norton
Utilities

nu
EOK
EOK
Print
VMENU.DOC
Only works if we can find VMENU.DOC
{CLS}
{ECHO}Attempting to copy VMENU.DOC to lpt1
{ECHOON}
copy VMENU.DOC lpt1
{PAUSE}
EOK
EOK
Type
VMENU.DOC
Only works if we can find the more command!
{CLS}
{ECHOON}
more < vmenu.doc
{PAUSE}
EOK
Return to
Top Menu

{MENU}0
EOK
Menu 2
EOK
EOK
EOK
EOK
EOK
EOK
EOK
EOK
EOK
Return to
Top Menu

{MENU}0
EOK
Menu 3
EOK
EOK
EOK
EOK
EOK
EOK
EOK
EOK
EOK
Return to
Top Menu

{MENU}0
EOK
Menu 4
EOK
EOK
EOK
EOK
EOK
EOK
EOK
EOK
EOK
Return to
Top Menu

{MENU}0
EOK
Menu 5
EOK
EOK
EOK
EOK
EOK
EOK
EOK
EOK
EOK
Return to
Top Menu

{MENU}0
EOK
Menu 6
EOK
EOK
EOK
EOK
EOK
EOK
EOK
EOK
EOK
Return to
Top Menu

{MENU}0
EOK
Information about some internal VMENU commands.
{CLS}, {ECHO}
{PAUSE}
Three of the internal commands in VMENU.
{CLS}
{ECHO}  {CLS} or CLS will cause VMENU to clear the screen.  (This is normally
{ECHO}done before an external command is executed.)
{ECHO}^J  {ECHO} or ECHO followed by a string will display that string on the
{ECHO}screen.  Non-displayable characters below decimal 32 can be displayed by
{ECHO}using a circumflex (^^) followed by a character.
{ECHO}^J  {ECHO ON} will force command line echoing.
{ECHO}^J  {PAUSE} or PAUSE will display press Space to continue, ESC to abort
{ECHO}in the lower right corner of the screen.  Optionally, a prompt of your
{ECHO}own can be displayed in the center of the screen.
{PAUSE}
EOK
Changing
drives & dirs
How VMENU handles changing drives and directories.
{CLS}
{ECHO}VMenu takes care of changing drives and directories and does not pass
{ECHO}those kinds of commands to DOS reducing the requirement to load
{ECHO}command.com.
{ECHO}^JVMenu will also let you specify forward or backward slashes as the
{ECHO}directory seperator.
{PAUSE}
EOK
{MENU},
{LOAD}
Allows access to alternate menus.
{CLS}
{ECHO}When VMenu starts up, 10 menus are defined and kept in memory.  These
{ECHO}menus are accessed by the {MENU}x statement where x is a digit from 0 to 9
{ECHO}^JAn alternate menu can be loaded by use of the {LOAD}filename command
{ECHO}where the filename is a VMenu definition file.  This brings in 10 new
{ECHO}menus that replace the current set of menus in memory.  The orginal
{ECHO}starting menu can be reloaded by using {LOAD} with no filename following.
{PAUSE}
EOK
How VMENU
Loads Pgms
VMenu can start programs in one of three ways.  If no extension is specified, the command is passed to DOS.  If complete path, VMenu does the loading.
{CLS}
{ECHO}If a command line has a program name without an extension, the command is
{ECHO}passed to COMMAND.COM for execution.  If the command line specifies a full
{ECHO}filename, VMenu loads and executes the file directly using about 3.5k less
{ECHO}memory and a lot faster.^J
{ECHO}Method 1: mmap               Method 2: mmap.com^J
{ECHO}^JYou can also start a program eliminating VMenu from memory by using
{ECHO}{KEYIN} and {EXIT}.  As an example,^J
{ECHO}   {KEYIN}mmap^^M           (the ^^M is a carriage return)
{ECHO}   {EXIT}
{PAUSE}
EOK
{KEYIN}

A little about the {KEYIN} statement.
{CLS}
{ECHO}VMenu will allow you to 'stuff' up to 15 characters into the keyboard
{ECHO}buffer before executing a command.  You can use this feature to pass
{ECHO}keystokes into SOME other programs for execution.  You can also use
{ECHO}this to start a program after VMenu exits.
{ECHO}^JPlease refer to documentation on this command.
{ECHO}^JNote: {KEYIN} is not guaranteed to work on all computers, depending on
{ECHO}what other software you have memory resident.
{PAUSE}
EOK
TSRs & VMENU

VMenu should NOT be used to start TSR programs.
{CLS}
{ECHO}VMenu should NOT be used to start TSR programs.  Starting a TSR program
{ECHO}from VMenu would only cause a problem when you exit from VMenu as its
{ECHO}memory will not be usable again.  Also, if you start a TSR program and
{ECHO}then attempt to modify the VMenu menus, you will have problems if the
{ECHO}menu definition uses more memory than already allocated.^J
{ECHO}VMenu automatically enlarges its memory allocation when you go into menu
{ECHO}modification mode and shrinks when you leave menu modification mode.
{PAUSE}
EOK
{RSP}

Command line responses
{CLS}
{ECHO}VMenu allows for command line responses through the use of {RSP}"prompt".
{ECHO}This is positional and the resulting line entered from the keyboard will
{ECHO}be inserted in the command line replacing {RSP}.
{ECHO}^JPlease refer to the documentation on the use of this command and the
{ECHO}use of internal variables.
{PAUSE}
EOK
Memory Usage

How VMenu uses memory.
{CLS}
{ECHO}VMenu always uses the minimum amount of memory possible (See note on TSRs)
{ECHO}The menu executable takes up about 15k of memory.  Menu definitions can
{ECHO}take from 2k of memory all the way up to 63k of memory depending on how
{ECHO}the menus are set up.  Its better to have many small menus than to have
{ECHO}one large menu.  (See note on {MENU} and {LOAD})^J
{ECHO}Menus can be made smaller by not having Help lines and reducing the
{ECHO}contents of the command lines to a minimum.^J
{ECHO}Memory allocation is dynamic and expands when going into modification mode
{ECHO}and shrinks when you exit modification mode.
{PAUSE}
EOK
Modifying the
Menus
The menus are totally user definable.
{CLS}
{ECHO}You can change almost every aspect about VMenu.  There are not any built
{ECHO}in key definitions, you can change the titles and all the colors and even
{ECHO}choose between two different formats of the menu.
{ECHO}^JVMenu also supports passwords.  (Refer to documentation for that.)^J
{ECHO}Press CTRL-F6 at any menu to get into menu modification mode.
{PAUSE}
EOK
Return to
Top Menu
This key causes VMENU to redisplay the top level menu.  This can actually be done two different ways.  1> {MENU}0     2> {MENU}
{MENU}
EOK
Menu 8
EOK
EOK
EOK
EOK
EOK
EOK
EOK
EOK
EOK
Return to
Top Menu

{MENU}0
EOK
Menu 9
EOK
EOK
EOK
EOK
EOK
EOK
EOK
EOK
EOK
Return to
Top Menu

{MENU}0
EOK
